package data.book;

import java.util.Comparator;

import po.BookPO;

public class PriceComparator implements Comparator<BookPO>{

	@Override
	public int compare(BookPO book_one, BookPO book_two) {
		return (int)(book_one.getPrice()-book_two.getPrice());
	}

}
